package lslnx.dao;


import lslnx.model.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectUserInfoByLoginName(String userName);
}